#include <iostream>
#include <cstdio>
using namespace std;
int main()
{
	char c;
	cin>>c;
	printf("  %c\n",c);
	printf(" %c%c%c\n",c,c,c);
	printf("%c%c%c%c%c",c,c,c,c,c); 
	return 0;
}
